package cn.bdqn.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.bdqn.entity.Opinion;
import cn.bdqn.entity.UsersAndOpinion;
import cn.bdqn.util.Page;

public interface OpinionService {
	Integer saveOpinion(Opinion opinion);
	List<UsersAndOpinion> queryAllOpinion(@Param("userid")Integer userid);
	Integer deleteOpinionById(@Param("opinionid")Integer opinionid);
	void queryAllOpinionbyguan(String context,Page<UsersAndOpinion> page);
	Integer updateOpinionStatus(Opinion opinion);
	UsersAndOpinion queryOpinionByOpinionid(@Param("opinionid")Integer opinionid);

}
